//
//  OrderFooter.h
//  HMMarket
//
//  Created by 孙鹏飞 on 2017/5/10.
//  Copyright © 2017年 homai. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "OrderModel.h"
@class OrderFooter;
@protocol OrderFooterDelegate <NSObject>
@optional

- (void)OrderFooter:(OrderFooter *)footer didClickedConfirmGoodBtn:(OrderModel *)model;

- (void)OrderFooter:(OrderFooter *)footer didClickedCancleBtn:(OrderModel *)model;

- (void)OrderFooter:(OrderFooter *)footer didClickedGoPayBtn:(OrderModel *)model;

- (void)OrderFooter:(OrderFooter *)footer didClickedCompletedBtnBtn:(OrderModel *)model;

- (void)OrderFooter:(OrderFooter *)footer didClickedReturnGoodBtn:(OrderModel *)model;

- (void)OrderFooter:(OrderFooter *)footer didClickedReturnOfBtn:(OrderModel *)model;

- (void)OrderFooter:(OrderFooter *)footer didClickedReturnOkBtn:(OrderModel *)model;

@end

@interface OrderFooter : UIView

@property (nonatomic, weak) id <OrderFooterDelegate> delegate;

@property (nonatomic, strong) OrderModel * model;

@property (nonatomic, assign) int type;

+ (instancetype)orderFooter;

@end
